#include <REGX52.H>
#include "Delayxms.h"
#include "LCD1602.h"
#include "MatrixKey.h"

unsigned char KeyNUM;

void main(){
	LCD_Init();
	LCD_ShowString(1,1,"Hello,World! QU");
	
	while(1){
		
	KeyNUM = MatrixKey();
	if(KeyNUM){
	LCD_ShowNum(2,1,KeyNUM,2);
	}
	
	
	}
}
